﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace VOL.Domain.Dtos
{
    public class SelectInformDTO
    {
        /// <summary>
        ///通知单编号
        /// </summary>
        [Display(Name = "通知单编号")]
        [MaxLength(50)]
        [Column(TypeName = "nvarchar(50)")]
        [Editable(true)]
        public string InformCode { get; set; }

        /// <summary>
        ///通知单名称
        /// </summary>
        [Display(Name = "通知单名称")]
        [MaxLength(50)]
        [Column(TypeName = "nvarchar(50)")]
        [Editable(true)]
        public string InformName { get; set; }

        /// <summary>
        ///采购编号
        /// </summary>
        [Display(Name = "采购编号")]
        [MaxLength(50)]
        [Column(TypeName = "nvarchar(50)")]
        [Editable(true)]
        public string PurchaseCode { get; set; }

        /// <summary>
        ///供应商名称
        /// </summary>
        [Display(Name = "供应商编号")]
        [MaxLength(50)]
        [Column(TypeName = "nvarchar(50)")]
        [Editable(true)]
        public string SupplierName { get; set; }

        /// <summary>
        ///交付日期
        /// </summary>
        [Display(Name = "交付日期")]
        [Column(TypeName = "datetime")]
        [Editable(true)]
        public DateTime? DeliveryDate { get; set; }

        /// <summary>
        ///单据状态
        /// </summary>
        [Display(Name = "单据状态")]
        [Column(TypeName = "int")]
        public int? States { get; set; }

        /// <summary>
        /// 当前页码
        /// </summary>
        public int PageIndex { get; set; }

        /// <summary>
        /// 每页大小
        /// </summary>
        public int PageSize { get; set; }
    }
}
